package com.heroCW.bodhiAttic.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heroCW.bodhiAttic.entity.ShoppingCart;

import java.util.List;

public interface ShoppingCartService extends IService<ShoppingCart> {

    // 查询当菜品或套餐是否在购物车中
    ShoppingCart getOneShoppingCart(ShoppingCart shoppingCart);

    // 清空购物车
    Boolean clean();

    // 查询购物车列表
    List<ShoppingCart> getList();
}
